package-plugin
目的 Purpose
Packages a plugin as a ZIP archive which can then be installed into another application使用例 Examples
grails package-plugin
詳細 Description
使用方法: Usage:
grails package-plugin
Fired Events:
StatusError
- When there was an error during packaging
grails-[name]-[version].zip
. The name and version are obtained from the plugin descriptor (the Groovy class ending with the convention GrailsPlugin.groovy
) in the root of the plugin directory. For example this plugin:class SimpleGrailsPlugin {
def version = "0.1"
}
grails-simple-0.1.zip
, which can then be installed into an application with the install-plugin command.